home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / bash / bash_108 / bash-108.zoo / bash-1.08 / builtins.h.orig < prev    next >
Encoding:
Text File  |  1991-03-03  |  2.1 KB  |  62 lines

  1. /* builtins.h -- a list of all commands that are shell builtins.  See
  2.    builtins.c to see where to add more builtins. */
  3.  
  4. /* Copyright (C) 1987,1991 Free Software Foundation, Inc.
  5.  
  6.    This file is part of GNU Bash, the Bourne Again SHell.
  7.  
  8.    Bash is free software; you can redistribute it and/or modify it
  9.    under the terms of the GNU General Public License as published by
  10.    the Free Software Foundation; either version 1, or (at your option)
  11.    any later version.
  12.  
  13.    Bash is distributed in the hope that it will be useful, but WITHOUT
  14.    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  15.    or FITNESS FOR A PARTICULAR PURPOSE.     See the GNU General Public
  16.    License for more details.
  17.  
  18.    You should have received a copy of the GNU General Public License
  19.    along with Bash; see the file COPYING.  If not, write to the Free
  20.    Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
  21.  
  22. #include "config.h"
  23.  
  24. int colon_builtin (), period_builtin (), break_builtin (),
  25.   continue_builtin (), cd_builtin (), echo_builtin (), eval_builtin (),
  26.   exec_builtin (), exit_builtin (), export_builtin (), hash_builtin (),
  27.   pwd_builtin (), read_builtin (), readonly_builtin (), return_builtin (),
  28.   set_builtin (), shift_builtin (), test_builtin (), times_builtin (),
  29.   trap_builtin (), type_builtin (), ulimit_builtin (), umask_builtin (),
  30.   unset_builtin (), wait_builtin (), help_builtin (), enable_builtin (),
  31.   history_builtin (), logout_builtin (), builtin_builtin (),
  32.   command_builtin ();
  33.  
  34. int declare_builtin (), local_builtin ();
  35.  
  36. int fc_builtin (), let_builtin (), getopts_builtin ();
  37.  
  38. #ifdef PUSHD_AND_POPD
  39. int dirs_builtin (), pushd_builtin (), popd_builtin ();
  40. #endif    /* PUSHD_AND_POPD */
  41.  
  42. #ifdef ALIAS
  43. #include "alias.h"
  44. int alias_builtin (), unalias_builtin ();
  45. #endif    /* ALIAS */
  46.  
  47. #ifdef JOB_CONTROL
  48. int jobs_builtin (), fg_builtin (), bg_builtin ();
  49. int kill_builtin (), suspend_builtin ();
  50. #endif
  51.  
  52. /* The thing that we build the array of builtins out of. */
  53. struct builtin {
  54.   char *name;
  55.   Function *function;
  56.   int enabled;
  57.   char *short_doc;
  58.   char *long_doc;
  59. };
  60.  
  61. extern struct builtin shell_builtins[];
  62.